app.service('payService',function($http){
	
	//统一下单
	this.createNative=function(){
		return $http.get('pay/createNative.do');
	}

	//查询订单
	this.queryOrderStatus=function(out_trade_no){
		return $http.get('pay/queryOrderStatus.do?out_trade_no='+out_trade_no);		
	}
	
});